home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9467 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  865 b 

  1. Path: warp10.smartlink.net!thomash
  2. From: thomash@warp10.smartlink.net (Thomas Hackbarth)
  3. Newsgroups: comp.lang.c++
  4. Subject: C code in a C++ app
  5. Date: 1 Mar 1996 22:18:43 GMT
  6. Organization: SmartLink.net Premier ISP 805-294-1273
  7. Message-ID: <4h7t43$6as@frodo.smartlink.net>
  8. NNTP-Posting-Host: smartlink.net
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. I'm working on porting a C app. from MAC to the PC. The app is basicly C 
  12. and I'm replacing the UI for the PC side. I need to compile and link C 
  13. code into my MFC application. I get errors basicly saying I can't compile 
  14. C code with CPP, OK I renamed the file to CPP then I need to add #include 
  15. <stdafx.h>. I would rather not change any of the C files at all. They 
  16. need to stay multiplatform as well as multi-compiler. 
  17.  
  18. Does anyone know how to build a MCF app with C code, with out changing 
  19. the C code.
  20.  
  21. Thanks
  22. Thomas
  23.  
  24.